package cn.jtcoding.order.mapper;


import cn.jtcoding.order.pojo.dataobject.OrderStatusDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderStatusMapper {

    int updateOrderStatus(OrderStatusDO orderStatus);

    OrderStatusDO queryOrderStatusInfo(String orderId);

    int addOrderStatus(OrderStatusDO orderStatus);

    List<OrderStatusDO> queryWaitPayOrders();
}